cshark: drop package
authorPaul Donald <[email protected]>
Wed, 12 Nov 2025 00:26:20 +0000 (01:26 +0100)
committerJosef Schlehofer <[email protected]>
Wed, 12 Nov 2025 12:54:00 +0000 (13:54 +0100)
requires newer cmake to compile, but the company behind this has pivoted and no
longer actively supports this, and are phasing it out.

This package is rather pointless anyway, since you can just use the sshdump
remote capture plugin in Wireshark with tcpdump on your router and see live
results, far superior to this.

Signed-off-by: Paul Donald <[email protected]>
net/cshark/Makefile [deleted file]
net/cshark/patches/010-gcc12.patch [deleted file]

diff --git a/net/cshark/Makefile b/net/cshark/Makefile
deleted file mode 100644 (file)
index b31496d..0000000
+++ /dev/null
@@ -1,53 +0,0 @@
-#
-# Copyright (C) 2014-2015 OpenWrt.org
-#
-# This is free software, licensed under the GNU General Public License v2.
-# See /LICENSE for more information.
-#
-
-include $(TOPDIR)/rules.mk
-
-PKG_NAME:=cshark
-PKG_SOURCE_DATE:=2020-07-22
-PKG_SOURCE_VERSION:=c0d32fb6df3cd095fecac8aefe8d188170246403
-PKG_RELEASE:=3
-
-PKG_SOURCE_PROTO:=git
-PKG_SOURCE_URL:=https://github.com/cloudshark/cshark.git
-PKG_MIRROR_HASH:=85e6e76ad09f235f4eab1f7f880d281906a344a2b2de66a49823991219d21f01
-
-PKG_MAINTAINER:=Luka Perkov <[email protected]>
-PKG_LICENSE:=BSD-2-Clause
-
-include $(INCLUDE_DIR)/package.mk
-include $(INCLUDE_DIR)/cmake.mk
-
-define Package/cshark
-  SECTION:=net
-  CATEGORY:=Network
-  TITLE:=CloudShark capture tool
-  URL:=https://cloudshark.io/
-  DEPENDS:=+libjson-c +libpcap +libuci +libubox +libuclient +libustream-mbedtls
-endef
-
-CMAKE_OPTIONS += \
-       -DWITH_DEBUG=OFF
-
-define Package/cshark/conffiles
-/etc/config/cshark
-endef
-
-define Package/cshark/install
-       $(INSTALL_DIR) $(1)/sbin
-       $(INSTALL_BIN) \
-               $(PKG_INSTALL_DIR)/usr/bin/cshark \
-               $(1)/sbin/
-
-       $(INSTALL_DIR) $(1)/etc/config
-       $(INSTALL_CONF) \
-               $(PKG_BUILD_DIR)/config/cshark \
-               $(1)/etc/config/
-endef
-
-
-$(eval $(call BuildPackage,cshark))
diff --git a/net/cshark/patches/010-gcc12.patch b/net/cshark/patches/010-gcc12.patch
deleted file mode 100644 (file)
index c36b3e7..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/src/uclient.c
-+++ b/src/uclient.c
-@@ -150,7 +150,7 @@ static void cshark_ustream_ssl_init(void
-       ssl_ctx = ssl_ops->context_new(false);
--      if (config.ca)
-+      if (strlen(config.ca))
-               ssl_ops->context_add_ca_crt_file(ssl_ctx, config.ca);
- }